package com.example.sunnyweather.logic.network

import com.example.sunnyweather.SunnyWeatherApplication
import com.example.sunnyweather.logic.model.PlaceResponse
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query

interface PlaceService {
    @GET("v2.6/${SunnyWeatherApplication.token_cytq}/116.3176,39.9760/weather?alert=true&dailysteps=1&hourlysteps=24")
    fun searchPlace(@Query("query") query:String) : Call<PlaceResponse>

}